package com.iphanta.community.user.service;

import com.iphanta.community.following.traffic.vo.UserSimpleInfo;
import com.iphanta.community.user.traffic.*;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 墨声 E-mail: zehong.hongframe.huang@gmail.com
 * create time: 2/22/22 11:34 AM
 */
public interface UserService {

    /**
     * 用户注册
     *
     * @param request
     * @return
     */
    UserRegisterResponse register(UserRegisterRequest request);

    /**
     * 用户修改
     *
     * @param request
     * @return
     */
    UserModifyResponse modify(UserModifyRequest request);

    UserInfoResponse info(UserInfoRequest request);

    UserNotificationResponse notification(UserNotificationRequest request);

    UserNotificationReadResponse isRead();

    UserSimpleInfo simpleInfo(String uid);

}
